#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

int main (int argc, char *argv[], char *env[]){
	
	char tab[50];
	char path[4]={"PATH"};
	getcwd(tab,50);

	for (int i=0; i<50; i++){
		printf("%c",tab[i]);
	}

	printf("\n");
	printf("%s\n",path);
	
	int a=0;
	
	while (env[a]!=NULL){
		if (strtok(env[a],"=") == "PATH"){
			printf ("----------------------------------------------------\n");
		}

		printf("%s\n",strtok(env[a],"="));

		a++;	
	}

	return 0;
}
